693672a46132235590ccf482a5c418b03dc7ba21,java/src/org/broadinstitute/sting/utils/genotype/vcf/VCFWriter.java,VCFWriter,writeHeader,#VCFHeader#,67

Before Change


            if (header.hasGenotypingData()) {
                b.append("FORMAT" + VCFConstants.FIELD_SEPARATOR);
                for (String field : header.getGenotypeSamples())
                    b.append(field + VCFConstants.FIELD_SEPARATOR);
            }
            mWriter.write(b.toString() + "\n");
            mWriter.flush();  // necessary so that writing to an output stream will work

After Change


                mWriter.write(VCFConstants.FIELD_SEPARATOR);
                for ( String sample : header.getGenotypeSamples() ) {
                   mWriter.write(sample);
                   mWriter.write(VCFConstants.FIELD_SEPARATOR);
            }                                                       }

            mWriter.write("\n");